package org.bongo.open.cumulo.core.message;

/**
 * Provides a baseclass implementation of MessageUnit<T> interface.
 * 
 * @author smitha
 *
 * @param <T>
 */
public abstract class AbstractMessageDistributable<T> implements MessageDistributable<T>{

	/**
	 * raw content of the message unit
	 */
	private T content;

	
	public T getMessageContent() {
		return content;
	}

	public void setMessageContent(T content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "AbstractMessageUnit [content=" + content + "]";
	}
	
	
}